import requests

response = requests.post('http://localhost:8080/add', json={'a': 5, 'b': 10})
print(response.json())